Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CellMatrix<T> Class / EnumerateNonEmptyValues Method
An integer value indicates the first row.
An integer value indicates the first column.
An integer value indicates the last row.
An integer value indicates the last column.


In This Topic
    EnumerateNonEmptyValues Method (CellMatrix<T>)
    In This Topic
    Loops through all non-empty items in the CellMatrix<T>.
    Syntax
    'Declaration
     
    
    Public Function EnumerateNonEmptyValues( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer _
    ) As IEnumerable(Of T)
    'Usage
     
    
    Dim instance As CellMatrix(Of T)
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim value As IEnumerable(Of T)
     
    value = instance.EnumerateNonEmptyValues(row, column, row2, column2)
    public IEnumerable<T> EnumerateNonEmptyValues( 
       int row,
       int column,
       int row2,
       int column2
    )

    Parameters

    row
    An integer value indicates the first row.
    column
    An integer value indicates the first column.
    row2
    An integer value indicates the last row.
    column2
    An integer value indicates the last column.
    See Also